<? if (count($this->alphabet['values'])) : ?>

    <div class="alphabet">
    <ul>
        
        <li><a href="<?=$this->url(array(), 'Products')?>"<? if ('' == $this->alphabet['value']) : ?> class="active"<? endif; ?>>Все</a></li>
        
        <? foreach ($this->alphabet['values'] as $letter) : ?>
            <li><a href="<?=$this->url(array(), 'Products')?>?letter=<?=$letter?>"<? if ($letter == $this->alphabet['value']) : ?> class="active"<? endif; ?>><?=$letter?></a></li>
        <? endforeach; ?>
        
    </ul>
    <div class="clear"></div>
    </div>
    
<? endif; ?>